package com.mingtu.guards.bean;

public class AirLastLocationBean {
    /**
     * msg : success
     * code : 0
     * airInfoEntity : {"id":14396,"flyId":70,"createTime":"2021-08-02 16:24:44","lnglat":"115.5441476134322,31.74712776286451","altitude":"369.80414","velocityX":0,"velocityY":0,"velocityZ":0,"roll":-0.4,"pitch":-1.6,"yaw":-178.1}
     */

    private String msg;
    private int code;
    private AirInfoEntityBean airInfoEntity;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public AirInfoEntityBean getAirInfoEntity() {
        return airInfoEntity;
    }

    public void setAirInfoEntity(AirInfoEntityBean airInfoEntity) {
        this.airInfoEntity = airInfoEntity;
    }

    public static class AirInfoEntityBean {
        /**
         * id : 14396
         * flyId : 70
         * createTime : 2021-08-02 16:24:44
         * lnglat : 115.5441476134322,31.74712776286451
         * altitude : 369.80414
         * velocityX : 0
         * velocityY : 0
         * velocityZ : 0
         * roll : -0.4
         * pitch : -1.6
         * yaw : -178.1
         */

        private int id;
        private int flyId;
        private String createTime;
        private String lnglat;
        private String altitude;
        private int velocityX;
        private int velocityY;
        private int velocityZ;
        private double roll;
        private double pitch;
        private double yaw;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getFlyId() {
            return flyId;
        }

        public void setFlyId(int flyId) {
            this.flyId = flyId;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getLnglat() {
            return lnglat;
        }

        public void setLnglat(String lnglat) {
            this.lnglat = lnglat;
        }

        public String getAltitude() {
            return altitude;
        }

        public void setAltitude(String altitude) {
            this.altitude = altitude;
        }

        public int getVelocityX() {
            return velocityX;
        }

        public void setVelocityX(int velocityX) {
            this.velocityX = velocityX;
        }

        public int getVelocityY() {
            return velocityY;
        }

        public void setVelocityY(int velocityY) {
            this.velocityY = velocityY;
        }

        public int getVelocityZ() {
            return velocityZ;
        }

        public void setVelocityZ(int velocityZ) {
            this.velocityZ = velocityZ;
        }

        public double getRoll() {
            return roll;
        }

        public void setRoll(double roll) {
            this.roll = roll;
        }

        public double getPitch() {
            return pitch;
        }

        public void setPitch(double pitch) {
            this.pitch = pitch;
        }

        public double getYaw() {
            return yaw;
        }

        public void setYaw(double yaw) {
            this.yaw = yaw;
        }
    }
}
